import { AttachmentItemDto } from "../../attachment/dto/attachmentItemDto";

export interface ProductCommentListDto {
    orderId: string | undefined;
    productId: string | undefined;
    sku: string | undefined;
    productScore: number | undefined;
    body: string | undefined;
    parentId: number | undefined;
    toId: number | undefined;
    auditStatus: ProductCommentListDtoAuditStatus | undefined;
    auditStatusDisplayName: string | undefined;
    childCount: number | undefined;
    isAnonymous: boolean | undefined;
    creatorUserDisplayName: string | undefined;
    creatorUserAvatar: string | undefined;
    browserInfo: string | undefined;
    clientIpAddress: string | undefined;
    clientName: string | undefined;
    images: AttachmentItemDto[] | undefined;
    children: ProductCommentListDto[] | undefined;
    creationTime: Date;
    creatorUserId: number | undefined;
    id: number | undefined;
    hasImage:boolean
}

export enum ProductCommentListDtoAuditStatus {
    _0 = 0, 
    _10 = 10, 
    _20 = 20, 
}